package com.handu.luna.core.domain.system;

import com.handu.luna.core.domain.BaseRepository;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;


/**
 * Created by wangzailiang on 2014/7/15.
 */
public interface DeliverRepository extends BaseRepository<Deliver> {

    @Query("select d from Deliver d order by d.id desc")
    public Page<Deliver> findAll(Pageable pageable);
}
